package com.example.ai.exception;

import lombok.Data;

@Data
public class ErrorResponse {
    private int code;
    private String message;
    private String detail;

    public ErrorResponse(String message) {
        this.code = 400;
        this.message = message;
        this.detail = message;
    }

    public ErrorResponse(int code, String message, String detail) {
        this.code = code;
        this.message = message;
        this.detail = detail;
    }
} 